package org.jsbd.boss.service;

import java.util.List;

import org.jsbd.boss.domian.channel.ApkDevice;
import org.jsbd.boss.domian.channel.Hsman;

public interface IDeviceService {

	/**
	 * 
	 * selectList:查询所有
	 * 
	 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
	 * @param mark
	 * @return
	 */
	public List<Hsman> selectList(String mark);

	/**
	 * 
	 * insertApkDevices:批量插入
	 * 
	 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
	 * @param deviceList
	 */
	public void insertApkDevices(List<ApkDevice> deviceList);

	/**
	 * 
	 * insertApkDevices:批量插入
	 * 
	 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
	 * @param deviceList
	 */
	public void insertApkDevice(ApkDevice device);

	/**
	 * 
	 * delApkDevices:删除
	 * 
	 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
	 * @param mark
	 */
	public Integer delApkDevices(Integer apkId);

	/**
	 * 
	 * selectDevices:机型信息
	 * 
	 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
	 * @param apkId
	 * @return
	 */
	public List<ApkDevice> selectDevices(Integer apkId);

	/**
	 * 
	 * selectDevicesOfCache:从缓存查询apk配置的机型
	 * 
	 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
	 * @param apkId
	 * @return
	 */
	public List<ApkDevice> selectDevicesOfCache(Integer apkId);

	/**
	 * selectHsmanList:TODO 请描述该方法是做什么用途的
	 * 
	 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
	 * @return
	 */
	public List<String> selectHsmanList();

}
